HAL SDIO peripheral control functions ¶
This section provides information about the HAL SDIO peripheral control function migration.
HAL SDIO reset card ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_CardReset(SDIO_HandleTypeDef *hsdio)
|
hal_status_t HAL_SDIO_ResetCard(hal_sdio_handle_t *hsdio)
|
HAL SDIO set clock frequency ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_ConfigFrequency(SDIO_HandleTypeDef *hsdio,
uint32_t ClockSpeed)
|
hal_status_t HAL_SDIO_SetTransferClockFreq(const hal_sdio_handle_t *hsdio,
const uint32_t transfer_clock_freq_hz)
|
Related concepts:
HAL SDIO set bus width ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_SetDataBusWidth(SDIO_HandleTypeDef *hsdio,
uint32_t BusWide)
|
hal_status_t HAL_SDIO_SetDataBusWidth(hal_sdio_handle_t *hsdio,
hal_sdio_bus_wide_t bus_wide)
|
HAL SDIO set speed mode ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_SetSpeedMode(SDIO_HandleTypeDef *hsdio,
uint32_t DataRate)
|
hal_status_t HAL_SDIO_SetSpeedMode(hal_sdio_handle_t *hsdio,
const hal_sdio_speed_mode_t speed_mode)
|
HAL SDIO set block size ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_SetBlockSize(SDIO_HandleTypeDef *hsdio,
uint8_t function_nbr,
uint16_t BlockSize)
|
hal_status_t HAL_SDIO_SetBlockSize(hal_sdio_handle_t *hsdio,
hal_sdio_function_t function_nbr,
hal_sdio_block_size_t block_size)
|
HAL SDIO get card CCCR ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_GetCardCommonControlRegister(SDIO_HandleTypeDef *hsdio,
HAL_SDIO_CCCR_TypeDef *pCccr)
|
hal_status_t HAL_SDIO_GetCardCommonControlRegister(hal_sdio_handle_t *hsdio,
hal_sdio_cccr_t *p_cccr)
|
HAL SDIO get card FBR ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_GetCardFBRRegister(SDIO_HandleTypeDef *hsdio,
HAL_SDIO_FBR_t *pFbr)
|
hal_status_t HAL_SDIO_GetCardFunctionBasicRegister(hal_sdio_handle_t *hsdio,
hal_sdio_fbr_t *p_fbr)
|
HAL SDIO select IO function ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_SelectIOFunction(SDIO_HandleTypeDef *hsdio,
uint32_t IOFunction)
|
hal_status_t HAL_SDIO_SelectIOFunction(hal_sdio_handle_t *hsdio,
hal_sdio_function_t io_function)
|
HAL SDIO enable IO function ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_EnableIOFunction(SDIO_HandleTypeDef *hsdio,
uint32_t IOFunction)
|
hal_status_t HAL_SDIO_EnableIOFunction(hal_sdio_handle_t *hsdio,
hal_sdio_function_t io_function)
|
HAL SDIO disable IO function ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_DisableIOFunction(SDIO_HandleTypeDef *hsdio,
uint32_t IOFunction)
|
hal_status_t HAL_SDIO_DisableIOFunction(hal_sdio_handle_t *hsdio,
hal_sdio_function_t io_function)
|
HAL SDIO interrupt control ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_StatusTypeDef HAL_SDIO_EnableIOAsynInterrupt(SDIO_HandleTypeDef *hsdio)
|
hal_status_t HAL_SDIO_EnableIOAsynInterrupt(hal_sdio_handle_t *hsdio)
|
HAL_StatusTypeDef HAL_SDIO_DisableIOFunctionInterrupt(SDIO_HandleTypeDef *hsdio,
uint32_t IOFunction)
|
hal_status_t HAL_SDIO_DisableIOFunctionInterrupt(hal_sdio_handle_t *hsdio,
hal_sdio_function_t io_function)
|
HAL_StatusTypeDef HAL_SDIO_EnableIOFunctionInterrupt(SDIO_HandleTypeDef *hsdio,
uint32_t IOFunction)
|
hal_status_t HAL_SDIO_EnableIOFunctionInterrupt(hal_sdio_handle_t *hsdio,
hal_sdio_function_t io_function)
|